DEFINITION MODULE Scanner;

(* This module scans Modula-2 sources and extracts four different
   tokens:
   - identifiers
   - start/end of comment
   - start or end of a literal

   Created: 5/5/86  by Richie Bielak

   Modified:



   Copyright (c) 1986 - by Richie Bielak
   
   This program maybe freely copied, but please leave my name in.
   Thanks....Richie

*)
TYPE
  TokenType = 
     (Null, OpenComment, CloseComment, Identifier, SingleQ, DoubleQ);

  PROCEDURE GetToken (VAR Token : TokenType; 	
                      VAR Value : ARRAY OF CHAR)
		      : BOOLEAN;

END Scanner.
